import { SoundOutlined } from '@ant-design/icons';
import { Breadcrumb, Layout,Avatar,Dropdown ,Menu} from 'antd';
import React from 'react';
import {useSelector} from 'react-redux'
import { Outlet } from 'react-router-dom';
import Asider from '../../component/Asider'
const { Header, Content } = Layout;

const Wojingbandeshenpi = () =>{
  // const {list} = useSelector(state=>state.userReducer)
  // console.log('home组件渲染',list); 
  // function bindMianbaoxie (list){
  //   console.log('bindMianbaoxie函数执行',list);
  //   return list.map(item=>(<Breadcrumb.Item key={item}>{item}</Breadcrumb.Item>))
  // }
   return(
    
    <Layout style={{height:'100%'}}>
      <Layout style={{display:'flex'}}>
        <Asider name='我经办的审批'/>
          {/* <Breadcrumb style={{margin: '16px 0'}}>
          {bindMianbaoxie(list)}
          </Breadcrumb> */}
          <Content>
            <Outlet/>
          </Content>
      </Layout>
    </Layout>   
  )
   }



export default Wojingbandeshenpi;

